/* Copyright (c) 2004-2024 Peigen.info. All rights reserved. */

package info.peigen.hotpot.component.gateway.core.sign;

import info.peigen.hotpot.component.gateway.core.sign.enums.SignType;
import info.peigen.hotpot.component.gateway.core.sign.info.SignInfo;

/**
 * <b>(SignUtil)</b>
 *
 * @author Peigen
 * @version 1.0.0
 * @since 2019-05-28
 */
public interface SignUtil {

    /**
     * 签名方法
     *
     * @param signInfo 签名信息
     *
     * @return String
     */
    String sign(SignInfo signInfo);

    /**
     * 签名类型
     *
     * @return SignType
     */
    SignType signType();
}